<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<!-- Meta, title, CSS, favicons, etc. -->
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1">

		<title>后台管理</title>

		<!-- Bootstrap -->
		<link href="/admins/vendors/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
		<!-- Font Awesome -->
		<link href="/admins/vendors/font-awesome/css/font-awesome.min.css" rel="stylesheet">
		<!-- NProgress -->
		<link href="/admins/vendors/nprogress/nprogress.css" rel="stylesheet">
		<!-- Animate.css -->
		<link href="/admins/vendors/animate.css/animate.min.css" rel="stylesheet">

		<!-- Custom Theme Style -->
		<link href="/admins/css/custom.min.css" rel="stylesheet">
		<link rel="stylesheet" type="text/css" href="/admins/css/logo.css"/>
	</head>

	<body class="login">
		<div>
			<a class="hiddenanchor" id="signup"></a>
			<a class="hiddenanchor" id="signin"></a>

			<div class="login_wrapper">
				<div class="animate form login_form">
					<section class="login_content">
						<form method="POST" action="{{ url('/login') }}">
							{{ csrf_field() }}
							<h1>登录</h1>
							<div class="form-group{{ $errors->has('username') ? ' has-error' : '' }}">
								<input id="username" type="username" class="form-control" name="username" value="{{ old('username') }}"  placeholder="用户名" required autofocus>
								@if ($errors->has('username'))
								<span class="help-block"> <strong>{{ $errors->first('username') }}</strong> </span>
								@endif
							</div>
							<div class="form-group{{ $errors->has('password') ? ' has-error' : '' }}">
								<input id="password" type="password" class="form-control" name="password"  placeholder="密码"  required>
								@if ($errors->has('password'))
								<span class="help-block"> <strong>{{ $errors->first('password') }}</strong> </span>
								@endif
							</div>

							<div class="form-group">
								<div class="checkbox">
									<label>
									<input type="checkbox" name="remember" {{ old('remember') ? 'checked' : ''}}>
									记住我 </label>
								</div>
							</div>

							<div class="form-group">
								<button type="submit" class="btn btn-primary">
								登录
								</button>

							</div>

							<div class="clearfix"></div>

							<div class="separator">
								<div class="clearfix"></div>
								<br />

								<div>
									<img class="icon" src="/admins/images/weixinqianglogo.png"/>
								</div>
							</div>
						</form>
					</section>
				</div>
			</div>
		</div>
	</body>
</html>
